home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / misc / noahsarc.lha / Noahs.Arc / Part4 < prev    next >
Text File  |  1995-10-05  |  36KB  |  775 lines

  1.   
  2.   Now as the months roll by and you get to downloading various things from
  3. the BBS's and picking up the odd Fish disk, you're going to end up with
  4. programs all over the place, so we need to do two things in preparation.
  5.  
  6.   The first is getting our archives together.  These disks will be our 
  7. library.  When we download a program off a BBS it comes compressed, to both
  8. keep the file size down as well as keeping the whole package in one tidy
  9. bundle.
  10.  
  11.   When you get a compressed download, you decompress it with whatever
  12. archiver it was originally compressed with.  Right now, LHA is the current
  13. archiver of choice, although I, personally, have all my board files in the
  14. new LZX format, which is the first of the "smart" archivers and hopefully
  15. will replace LHA.  It's MUCH better.
  16.  
  17.   After that you look at the freshly decompressed files, read the docs and
  18. try out the program.  Then, if it looks like a program you want, or MIGHT
  19. want down the road, you copy the original version to your file library.
  20.  
  21.   You'll have drawers on these archive disks and you'll file the programs
  22. correctly, as well as have a master text file of what's where, its size,
  23. brief description and where you got it from.  Give yourself LOTS of
  24. elbow room on these archives; they fill up quickly and it's a bitch to
  25. expand, say, six disks to ten just because of all the copying and trying to
  26. keep things in their proper drawers, etc.
  27.  
  28.  
  29.   My archive disks are as follows; you can use them to help plan your own:
  30.  
  31.   Ads - BBS ads for hardware/software mail-order companies, etc
  32.   BBS - captured buffers of file listings
  33.   Clock - clock/timer stuff
  34.  
  35.   Anims - six disks of animations
  36.  
  37.   Audio - audio progs
  38.  
  39.   Audio Samples - sound and music files
  40.  
  41.   CLI - CLI-related progs
  42.  
  43.   Docs - two drawers, regular docs and game docs & hints
  44.  
  45.   Diskcopiers - misc BBS copiers
  46.   Fonts - downloaded fonts, font progs
  47.  
  48.   GamesA-C - downloaded games
  49.  
  50.   GamesD-F -
  51.  
  52.   GamesG-M -
  53.  
  54.   GamesN-S -
  55.  
  56.   GamesT-Z -
  57.  
  58.   GraphToolsA-L - all graphics-related programs
  59.  
  60.   GraphToolsM-R -
  61.  
  62.   GraphToolsS-Z - 
  63.  
  64.   HacksA-M - misc hacks
  65.  
  66.   HacksN-Z -
  67.  
  68.   Icons - nothing but
  69.   IconTools - editors and converters
  70.  
  71.   Keyboard - progs directly related to the keyboard
  72.   Mouse - mouse progs, including menu-makers
  73.  
  74.   Misc - whatever doesn't fit somewhere else
  75.  
  76.   Pics#1 - pics I'd really mind losing
  77.  
  78.   Pics#2 -
  79.  
  80.   Pics#3 -
  81.  
  82.   Pointer - misc pointers, pointer progs
  83.   Printer - a few special drivers, controllers
  84.   Say - a couple of oddball things (could go in Audio)
  85.  
  86.   Screens - things concerning screens
  87.   TextTools - progs dealing with textfiles
  88.  
  89.   ToolsA-E - except diskcopiers and graphtools
  90.  
  91.   ToolsF-P -
  92.  
  93.   ToolsQ-Z -
  94.  
  95.   Windows - window-related progs
  96.  
  97.  
  98.   Yes, it seems silly to have an entire category just for the pointer, but
  99. I've got EIGHT files in there, so what'ya want?
  100.  
  101.   One point to note is that the number of disks for each category doesn't
  102. reflect your interest in that particular area of the computer.  It's just
  103. that some programs are naturally huge, like the anims, so even if you're
  104. just mildly interested in them, you'll still end up with a few disk's worth.
  105.  
  106.   If you don't have a modem yet but have picked up a few Fred Fish disks
  107. down at the store, the same holds true:  Get them stored.  Usually you only
  108. want a program or two, so my advice is to store what you want and put the
  109. Fish disks in a box in the closet to pull out six months from now to see
  110. if you've changed your mind about any of the other programs.  DON'T use
  111. the Fish disks, cleaned and formatted or not, for your archives, as they're
  112. poor quality.  And if you're using the Sonys, you mustn't stoop so low as to
  113. use a generic disk.
  114.  
  115.   And BACKUP your archives!  Spend half a Sunday every four months or so
  116. with your archive disk on one side of the DU and the backup disk on the other
  117. side, copying over the latest additions.  Yes, it's boring.  Yes, it takes
  118. forever.  Yes, you'll think you're the smartest person since God created
  119. kittens when you accidentally wipe out some archive disk three months from
  120. now and have a copy safely secreted away.
  121.  
  122.                                        *
  123.  
  124.   The other thing we have to do in preparation for the new programs invading
  125. our tidy Amigaworld is to make some specialized CustomBenches.  If you like
  126. icons, you'll end up with a bunch of different icon utilities, so make a
  127. copy of BareBench, rename it IconBench, and go through it as we did before,
  128. deleting any file that doesn't relate to icons.  I'm just talking about Tools
  129. and things, of course.  We obviously leave the l, libs, and devs directories
  130. mostly alone.  But just about everything else you can find besides the CLI
  131. goes.  Hey, this is the IconBench, buddy.  Move what's left over to the main
  132. Workbench window, then "Delete Utilities all".  We note that even though we
  133. moved everything out of Utilities, the directory's still not empty (there's
  134. still the .info file) so "Delete Utilities" without the "all" won't work..
  135. directory not empty!  Then "Delete Utilities.info" to blast the icon.
  136.  
  137.   DiskDoctor might also be in there (without an icon), but it goes too for
  138. the IconBench.
  139.  
  140.   Remember, I'm capitalizing words simply for clarity; the CLI doesn't care.
  141. Good advice right now would be get into the habit of always capitalizing cer-
  142. tain words: directory names, program names, c commands, whatever strikes your
  143. fancy.  There're no strict rules on the subject, as pointed out quite clearly
  144. by the stock startup-sequence.  In the tutorial I'll just capitalize every-
  145. thing in sight.
  146.  
  147.                                        *
  148.  
  149.   All right:  As you can see, you'll end up with a bunch of different
  150. Benches.  You'll have a GraphBench where you'll have different graphics
  151. tools for showing pics, running slideshows, animations, etc.  You'll have a
  152. FirstAidBench filled with DiskDoctor-type programs, undeleters, file-
  153. zappers, whatever, in case of need.  You'll have ExperiBench for screwing up,
  154. maybe a MusicBench for music programs, NoteBench (with ProWrite or something
  155. on it), DirtyBench, hey, who knows?
  156.  
  157.   There is, however, another way to do all this, but it has too many
  158. drawbacks..disks are cheap, remember?  I'll explain it to you anyways just
  159. so you know.  Assuming you have a blank, formatted disk in df1, you can, of
  160. course, store tools (in drawers, if you wish) on that disk and simply run
  161. them by opening df1's window and double-clicking on the icon.  Also, because
  162. the disk in df1 isn't a boot disk and doesn't need all the accompanying files
  163. like Workbench does, it can hold just tons of tools, eliminating the need
  164. for almost all of the CustomBenches.  For all of that, you REALLY want df1
  165. free to transfer things to and from, and if you start running projects and
  166. things from df1 you'll end up being plagued by "Please insert disk so-and-
  167. so.." requesters.  And that's only the start of some of the hassles that
  168. might crop up, another being that paths are much more critical with
  169. something running from an external device, be it df1 or Ram.  I tried it
  170. for a while and gave up.  It's more fun and certainly easier to deal
  171. with just having custom Benches for different major operations and leave
  172. df1 free for file shuffling, holding big programs, collections of pictures,
  173. animations, etc.
  174.  
  175.   Not to mislead you, you'll still use good ol' Workbench as your standard
  176. boot-up disk.  The CustomBenches are just that, for custom work.  And you
  177. can always run a tool or whatever from df1 in a given situation.
  178.  
  179.                                        *
  180.  
  181.   So what's next?  Why, time to write a scriptfile, you bet!  Type in the
  182. CLI "Ed s/g" and there's our buddy Ed with a Creating New File for us.  The
  183. file is in the s directory and is called "g".  Pretty snazzy name, huh?  On
  184. the first line type "Ed df0:s/startup-sequence".  That's it!  Hit Esc, x,
  185. Return.  In the CLI type "Dir s" and see if little g is there.  In the CLI
  186. "Type s/g" and see your fine creation right there in blue and white.  Now
  187. type "Execute s/g" in the CLI and lo and behold, you've executed a scriptfile
  188. that told the computer to edit the startup-sequence.  Hit Esc, q, Return, to
  189. quit the Ed without saving anything.
  190.  
  191.   Think that was tricky?  Watch this:  Type "Copy c/Execute c/f" in the CLI.
  192. You've just duplicated the Execute command, renaming it "f".  Now in the CLI
  193. type "f s/g" and you've got Ed again.  Still not slick enough?  Hang on.
  194.  
  195.   The command Path draws a path into a directory so we can find and use a
  196. TOOL easily.  We'll use the ol' Clock as our example.  
  197.  
  198. > Move the Clock into the Utilities drawer with the mouse.  
  199. > Type "Clock" in a CLI and the little beggar should pop right up there.  
  200. > Close the Clock, then type "Path reset" in the CLI.  
  201.  
  202.   We have just wiped out (for this CLI) the command "Path Ram: System
  203. Utilities" we ran in our st-seq.  
  204.  
  205. > Now type "Clock" and hey, object not found!
  206. > Now type "Utilities/Clock" and there it is.  
  207.  
  208.   Since the Utilities directory was not in the paths (because we reset them),
  209. you had to draw a path to the tool with the whole command.  
  210.  
  211. > Type "Path Utilities".  Now type just "Clock" again.  There it is!
  212.  
  213.   Since you've now directed the system paths to the Utilities directory, you
  214. only need to type the name of the tool and it'll find it.  A little clearer?
  215. That's why the Path command is in the st-seq; we set things up there so we
  216. don't always have to type the long version when we want a tool.  And that can
  217. BE a real "long version" when you're calling up tools that are within
  218. directories within directories within directories, etc.
  219.  
  220.   The basic Amiga directories have "built-in" paths, so the Amiga can get
  221. going at boot-up.  Two are the c and s directories.  If you have no startup-
  222. sequence at all and type "Dir" in a CLI, it doesn't come back with "object
  223. not found" as the path to the c directory is automatic for tools.
  224.  
  225.   With the s directory, the automatic path is for scriptfiles, like the
  226. startup-sequence.  The first thing it does at boot-up is seek the s directory
  227. for "startup-sequence", even though no paths have been drawn there.  So got
  228. the point yet?  Our little file "g" is also a scriptfile, so to edit the
  229. st-seq, we type "f g" as fast as our little fingers can go and bang, there it
  230. is.  If you've got ol' AddBuffers cranked up, the second time you "f g" it's
  231. REALLY there.
  232.  
  233.   We keep our scriptfiles in the s directory as the system automatically
  234. searches the s directory for scriptfiles; it lays a path for them.  The
  235. Path command, remember, is only for tools.  If you had the scriptfile "g"
  236. in the devs directory, say, and typed "f g", nothing would happen.  Type
  237. "Path devs", then "f g" and still nothing happens.  Path is only for
  238. tools.  S is the directory you keep scriptfiles in unless you plan on
  239. spelling out the whole path during the command.  In this case, "f devs/g"
  240. would work fine, as you specified to the Execute command the directory the
  241. file "g" was in.  That's "f", by the way, as in "Fire One!"  I DID say some-
  242. thing about "Silent Service", didn't I? ;)
  243.  
  244.   That little file "g" is just the start, of course.  We can issue all kinds
  245. of commands with just a flip of our fingers with scriptfiles kept in the s
  246. directory and our copied Execute command "f".  We're not going to delete the
  247. original command Execute, by the way, as, like leaving the t directory on
  248. the disk even though it's empty, some future programmers might seek out
  249. the command Execute by name, never believing in their wildest nightmares
  250. that anyone would have the gall to slice up a Workbench like we're doing.
  251.  
  252.   The ONLY other command we "shorten" is EndCLI, just because it's hard to
  253. type quickly.  You "Copy c/EndCLI c/e" and now "e" is your "EndCLI".  Got a
  254. loose DOS window cluttering up the place?  Hit e, Return and bang, it's gone.
  255.  
  256.   Want to have a tiny (possibly your only) laugh on the 2.x/3.x gang?  Their
  257. "EndCLI" is built-in to ROM, so they don't have an actual file in their c
  258. directory to rename.  So, they either have to laboriously type it out every
  259. time, or lower every shred of self-esteem they possess and BORROW one from an
  260. old, clunky 1.3 disk.  <chuckle>
  261.  
  262.   To be open-minded..at least on this one tiny little point..I'm forced to
  263. admit that's it's also common to rename the Delete command to "d", like we
  264. did when we cleaned up the c directory.  It's just one of those things that
  265. you have to weigh out and decide for yourself.  As you know, when you delete
  266. something in DOS, it doesn't come back with any good-neighborly message
  267. asking you if you're just downright sure you want to delete this puppy, it's
  268. just gone.  It strikes me now, as I'm sure it struck me then, that the LAST
  269. thing we all-thumbs Beginners need is a quicker Delete command!  In just
  270. the time it takes to type out the word, you have enough time to mentally
  271. check if you really want this file deleted.  And besides, you goof around
  272. on this thing long enough and eventually you'll enter some command like
  273. "Delte TestMe.file" and the computer will respond "unknown command" and
  274. you'll look up and realize with semi-shock that the TestMe.file was the
  275. LAST thing you wanted deleted!  Saved by the misspell!  It is, on the other
  276. hand, rather difficult to misspell the word "d".
  277.  
  278.                                        *
  279.  
  280.   Here are some of my s scriptfiles:
  281.  
  282.          a   - Run Type df0:MyFiles/ArchiveList
  283.  
  284.          aa  - Run Ed df0:MyFiles/ArchiveList
  285.  
  286.          g   - Run Ed df0:s/startup-sequence
  287.  
  288.          gg  - Run Ed df1:s/startup-sequence
  289.  
  290.          for - FailAt 25
  291.                Format drive df1: name Formatted noicons ;lazy Format command
  292.  
  293.          b   - Run df0:SID          ;runs Directory Utility
  294.  
  295.          l   - SetPrefs Inlace      ;switches to Interlace screen/colors
  296.                Lace                
  297.  
  298.          ll  - Lace                 ;switches to non-Interlace screen/colors
  299.                SetPrefs Nolace
  300.  
  301.          p   - Fac -p 0 -p 1        ;purges FaccII's buffers, both drives
  302.  
  303.          dr  - Delete Ram:#? all    ;deletes everything in Ram
  304.  
  305.          m   - Delete Ram:#? all    ;deletes everything in Ram and quits
  306.                Fac -q                FaccII to get back most of the memory
  307.  
  308.          mm  - deletes Ram, stops as many sub-routines (like FastFonts) as it
  309.                can, gets back as much memory as possible.  We'll talk more
  310.                about it later
  311.  
  312.          mback - puts back everything mm took out
  313.  
  314.  
  315.   Now some, like mm, execute a list, or script of commands, and that's why
  316. scriptfiles are needed.  Others, like "b", just fire up my Directory
  317. Utility (if you don't know what a DU is, you've got a real surprise coming).
  318. I could just rename the DU "b", then simply type "b" in the CLI window and
  319. up it would pop, but frankly, that's a stupid name for a tool.  Not to
  320. mention how quickly it could get out of hand, renaming commands, scriptfiles
  321. AND tools with single letters.  We'll leave things just as they are: you get
  322. two single-letter commands in c, EndCLI and Execute, but nothing else will be
  323. single or dual letters on the Bench except scriptfiles kept in the s dir.
  324. Abide by those rules and you'll save yourself lots of headaches in the
  325. future.
  326.  
  327.                                        *
  328.  
  329.   The program Lace I included with the tutorial is the best Interlace
  330. switcher I can find.  There are bunches of them around, half of them called
  331. "Lace", so I thought since it's pretty small I'd toss it in.  It's not
  332. perfect in that it doesn't remember where the windows were when you return to
  333. Interlace mode, but hey, so someone sacrificed program quality in order to
  334. keep the size down.  Gee, what a surprise.
  335.  
  336.                                        *
  337.  
  338.   If you don't have a modem (what have you been doing, reading??), you'll
  339. have to hoof it down to whoever near you has PD/Fred Fish disks, decipher
  340. your way through the Index and pick up which of the following (or substi-
  341. tutes, if you dare) you can.  The disks are only a couple of bucks each, you
  342. get a whole bunch of needless crap on each one, and best of all you get the
  343. honor of personally throwing away the junk generic disks when you've taken
  344. what you want off them.  I'm not being a snob here; if you ever loose
  345. something valuable you had stored on a junk disk you'll never forgive
  346. yourself.  Or me.
  347.  
  348.                                        *
  349.  
  350.   If you just happen to HAVE a modem...well THANK GOD!!  Can you believe
  351. that other guy I was just talking to?  Doesn't even have a modem yet and
  352. says he has, get this, a "computer"!  Har! Har! Har!  What that guy has is
  353. the "preparation for a computer", as tremendously hip people like ourselves
  354. know.  
  355.  
  356.   When you first get on a BBS, you'll be asked for your name and password,
  357. and when you don't have one, it'll assume you're a new user and will proceed
  358. with the registration process.  Some boards will have you type in something
  359. like NEW USER from the beginning.  The registration consists of name, maybe
  360. address, phone number, type of computer, maybe a few vital details about your
  361. computer.  If you don't have someone there beside you who's been on a BBS
  362. before, don't worry about it.  You know you've got a Commodore Amiga, so
  363. once you enter that code most everything else should work just fine.  If 
  364. it asks you for a "Protocol", pick ZModem, of course.  ALWAYS make sure your
  365. protocol matches the BBS's.  Screen width is 80, page length is usually 22 or
  366. so for non-interlace scree, 44 for Interlace.
  367.  
  368.   After you register, different things will happen, depending on the SysOp
  369. (System Operator) of the BBS, how trusting he is, etc.  Some will want you to
  370. call back a few days later after you've been "validated", some will let you
  371. on right away.  If you're allowed immediate access to the message base and
  372. files, some will let you write mail and download files immediately and some
  373. will only let you look around.  Either way, when you have access to the files
  374. you'll want to use the S)earch feature to dig up the downloads you want by
  375. name.  You'll also want to browse through the various sections to see what's
  376. cookin'.  Most boards have an upload/download ratio, something like 30 to 1,
  377. just to make sure you're not a complete leech.  Some boards give you more
  378. time (starting at, say, thirty minutes) the more you upload, some just give
  379. you, say, an hour, period.
  380.  
  381.   Uploading is kinda fun.  Uploading some righteous new hack or animation to
  382. one of your favorite boards gives you a good feeling.  The best way to dig
  383. up the latest stuff is to look at the (N)ew files when you first get on, and
  384. those are the ones most likely to be needed elsewhere.  I have uploaded
  385. easily more than thirty megs myself.
  386.  
  387.   Just call me the ol' file shuffler.
  388.  
  389.                                        *
  390.  
  391.   Update Note:  Make that "100". :)
  392.  
  393.                                        *
  394.  
  395.   So slap a blank disk in df1 and download:
  396.  
  397.          comp. bytes   prog bytes
  398.  
  399. Conman      14,277      1,100  - CLI line editor, a must
  400. DU-VI       50,220     35,456  - best basic DU I've found, also a must
  401. FileType    20,589     25,988  - a good file identifier
  402. GShow       17,408     15,712  - shows pics
  403. IconLab     55,428     68,768  - excellent icon tool
  404. Less1.1     17,384     22,364  - replaces Type, much better
  405. LHA         89,946     54,020  - to compress and decompress files, a must
  406. PrefCh      14,034      4,112  - change Prefs while booted-up, a must
  407. Mackie      19,361      7,488  - pops up a CLI window at the press of 2 keys
  408. Runback      4,877      3,268  - replaces Run in many cases, a must
  409. Select       8,413      5,412  - select your st-seq at boot-up, a must
  410. PlayBeep    44,068     10,344  - changes error beep and screen flash
  411. WhereIs     29,539     12,328  - finds lost files
  412. PKAZip      67,939     89,004  - to decompress .zip files, a must
  413. Zoo         70,009     41,428  - to decompress .zoo files, a must
  414.  
  415.  
  416.   I include the compressed bytes to compare with the file on the BBS, but
  417. both it and the program bytes are subject to change.  People add things,
  418. archiving formats differ, etc.  Also, the names are sketchy, at best, use
  419. "keywords" when you use the Search feature, not the whole entire name.
  420.  
  421.   If I mention a version number, like "Less1.1", try and get that partic-
  422. ular one.  It's not unusual for a "new, improved" version to not be as good
  423. as the older one.  What do you mean, you're `not surprised'??
  424.  
  425.   Try to find the Directory Utility DU-VI.  Most of the DU's around are
  426. single-screen and this one's a double.  You'll also notice the occasional
  427. file with a .zoo or .zip ending, which is why you need the Zip and Zoo
  428. programs.  
  429.  
  430.   Another thing to note is that you can't tell in the slightest how many
  431. bytes a program is by the compressed size.  There's a good example above.
  432. The DU-VI archive is some 50,000 bytes compressed, which might lead one the
  433. think that by the time it's decompressed it'd be HUGE..but it's not.  As you
  434. can see, the actual program is only 35 kbytes, very modest for all it does.
  435. The bulk of the compressed file is the "c source" included in the file.  And
  436. some docs can be pretty hefty.  I've seen 100k docs for 15k programs.
  437.  
  438.  
  439.   After you've got that gang, the next ones to get are:
  440.  
  441.                   comp. bytes
  442.  
  443.       Beep            2,967   - a small beep sound for help with scriptfiles
  444.       DL             11,941   - better List command
  445.       Edible         14,395   - removes binary from text
  446.       Filter          3,555   - removes command garbage (^M's) from text
  447.       IconType        4,648   - changes type (Tool, Project) of icon
  448.       IFFencode       6,540   - "snapshots" screen, saves as pic
  449.       JBLS           10,588   - another better List command
  450.       Melt           13,193   - maybe the greatest screen hack of all
  451.       NewFlush        1,582   - flushes libs, etc from memory
  452.       NewFonts       52,001   - neat fonts for paint & processor
  453.       NewSweep        2,540   - this or NewFlush will do
  454.       NewZap3.1      31,744   - lets you edit binary things like tools
  455.       SView           5,248   - slightly different type of pic viewer
  456.       Zoomlens        6,344   - just a cute Bench tool
  457.  
  458.  
  459.   You'll also want to get anything else that looks intriguing, it obviously
  460. depends on where your interests are.  There are, for example, some great
  461. nudes on the BBSs.  There are some decent games (my favorites at the 
  462. moment are SnakePit and Cycles), game editors, and lots of tips 'n tricks
  463. for commercial games.
  464.  
  465.   If you're into audio you'll want to pick up some Play programs and start
  466. unraveling the IFF/RAW/8XVS/DMCS/SMUS/SONIX enigma.
  467.  
  468.   There are some great graphic demos around, such as Colorful, Dazzle,
  469. Multiscope and Nemesis.  There are some great animations, such as Froggy,
  470. CPUS, BThrows and MarbleFac.  The two premiere ones I've seen are "Stamp 
  471. Collector" and "NotAgain", both by the esteemed Dr.  Gandalf.  If you're
  472. going to get NotAgain, dig up "Boing" first, just for the historical
  473. reference.  The Boing Ball is the semi-official Amiga trademark.  I bet I've
  474. got forty pics, anims, hacks, demos, intros, you-name-it on my board with a
  475. Boing Ball somewhere in it.
  476.  
  477.   There's also the occasional business program, with some BBSs catering
  478. almost exclusively to the business end of the machine, like some boards are
  479. devoted exclusively to programmers.
  480.  
  481.                                        *
  482.  
  483.   And now, guess what?!  It's time for some more of that neat CLI stuff!!
  484. Oh please, Mr. BenchMaster, can we have Assign first??
  485.  
  486.   Sorry kids, like dessert, you'll have to finish your plates before we get
  487. to the good stuff, and that means every last byte!  <slapping knee>
  488.  
  489.   Okay, I'm just going to skip through the c directory; most of the commands
  490. just kind of do one thing so don't need much additional comment.
  491.  
  492.  
  493. AddBuffers - keep it until you get FaccII
  494.  
  495. Assign - sorry, next section
  496.  
  497. Avail - tells you available memory
  498.  
  499. Break - Will stop some programs that otherwise don't have an off command, but
  500.         don't count on it.  Procedure is to first type Status to see which
  501.         # task it is, then "Break #".  Will also tell Wait when a program is
  502.         through, like in the 1.3 StartupII file
  503.  
  504. CD - sorry, next section too
  505.  
  506. Copy - makes a copy of a file where you specify, with a different name if you
  507.        so further specify.  Use "all" to copy the directory and all sub-
  508.        directories and files within
  509.  
  510. Date - used to set date and time
  511.  
  512. Delete - deletes specified file unless "all" is used, then deletes specified
  513.          directory AND all subdirectories/files within.  When you use "all",
  514.          be SURE you want to.  The CLI is very unforgiving, compared to the
  515.          Workbench, so if you're deleting-something-all, be SURE
  516.  
  517. Dir - shows contents of directory or device
  518.  
  519. Echo - for printing out text in a CLI window
  520.  
  521. Ed - the "text editor", "screen editor", or "system screen editor",
  522.      depending on which book's open at the time.  A "screen editor" would
  523.      alter the size of the Workbench screen, maybe make it a triangle, maybe
  524.      add some little scrolly things at the corners, gosh, just all kinds of
  525.      great possibilities..therefore I surmise by default (hey, the original
  526.      meaning of the word) that this is a "text editor".  I'll talk more
  527.      about it in a bit.
  528.  
  529. Else, If, EndIf - next section
  530.  
  531. EndCLI - closes CLI window; doesn't close if you've Run certain programs
  532.          still in operation (that's what Runback is for)
  533.  
  534. Execute - a "Run" for scriptfiles, if I may be so bold
  535.  
  536. FailAt - makes a scriptfile keep on running if a command fails.  I'll 
  537.          talk more about it later.
  538.  
  539. FastFonts - speeds up text output and changes default font
  540.  
  541. Fault - translates error message number into semi-English
  542.  
  543. IconX - runs scriptfiles from icons
  544.  
  545. Info - shows current disk space available, which devices mounted
  546.  
  547. Install - to make a blank disk bootable
  548.  
  549. Join - combines textfiles together
  550.  
  551. List - lists blocks in dir or bytes of individual file if specified, also
  552.        date and time file was last copied or saved. 
  553.  
  554. LoadWB - loads up the Workbench screen
  555.  
  556. MakeDir - makes a new directory, but not the icon for it.  For the .info file
  557.           you have to copy over (and rename) another drawer icon, or make up
  558.           a new one in IconEd.  Drawer icons don't actually have to look like
  559.           drawers, I remind you
  560.  
  561. NewCLI - it differs from the CLI command that was in the System drawer in
  562.          only one way, but you can play with them.  Both can have their
  563.          default window sizes changed with NewZap
  564.  
  565. Path - mentioned throughout the tutorial.  Paths started up in the st-seq
  566.        are forever, paths started once you've booted up are only good for
  567.        the task they're in, or subsequent tasks (NewCLI's) from that task
  568.  
  569. Quit - quits a scriptfile
  570.  
  571. Rename - renames files as well as moves them.  Learn this guy as well as Copy
  572.  
  573. Run - for tools/programs
  574.  
  575. SetClock - for setting the internal and system clocks
  576.  
  577. SetPatch - fixes minor bugs in ROM
  578.  
  579. Sort - alphabetizes textfiles
  580.  
  581. Stack - mainly needed for big graphics things, increases Ram "overflow"
  582.  
  583. Status - gives you status of current CLI tasks
  584.  
  585. Type - goes into the dumper as soon as you get Less (or rename it Type2)
  586.  
  587. Wait - holds up scriptfile for requested number of secs/mins
  588.  
  589. Why - like Fault, gives you feedback on error.  Use right after boo-boo
  590.  
  591.  
  592.   Okay, that's it for those clowns.
  593.  
  594.   Assign, Avail, Info, List, Path and Status are the six commands you type
  595. into the CLI to check the current condition of the system.  Write them down
  596. on a small, separate piece of paper and tape it somewhere obvious.  These
  597. are your direct link to the system, so use them, learn them, figure out what
  598. every little scrap of data means, slap 'em in the CLI whenever you have the
  599. slightest question as to what's going on.  You will eventually feel like you
  600. are actually controlling the computer, rather than simply being bewildered
  601. by it, and learning, knowing and using these six commands are the shortest
  602. and best path to that goal.
  603.  
  604.   (To all the DiskMaster fans in the audience who just gasped at that last
  605. statement, let me quickly add that you don't control the SYSTEM with a
  606. Directory Utility, you only control FUNCTIONS.  DU's are really great, but
  607. they're just tools, after all)
  608.  
  609.                                        *
  610.  
  611.   Well, I fibbed.  This is the next section and we're NOT going to go
  612. over those other commands just yet.  Aw-w, gee Uncle BenchMaster, c'mon,
  613. just one little Assign, pretty-please???
  614.  
  615.   Well, okay.  Geez, I'm such a sucker for you brats.  Now, remember when I
  616. said we'd wipe out the fonts dir, get all the space back and still have
  617. access to the fonts?  Here's how:  We made that fonts dir on the disk in df1,
  618. so we'll Assign the fonts over to that disk so when Notepad or whatever goes
  619. looking for "fonts", they'll find them.  Pop a copy of Notepad off the master
  620. disk into the Utilities drawer or boot up a standard WB with Notepad on it.
  621.  
  622.   Slap ol' FontDisk in df1.  Think one whole big disk is too much to devote
  623. to some punky little fonts?  Well, if you're not into them, that's true.  If
  624. you are, however, you may eventually end up with 754,888 bytes (and counting)
  625. worth of the little beggars, like Guess Who.  
  626.  
  627.   To run Notepad with df1's fonts, somewhere before you start up Notepad
  628. you need to assign the fonts dir over to the fonts dir on df1, and this you
  629. can do a number of ways:
  630.  
  631.   -  You can just put "Assign fonts: df1:fonts" in your st-seq but then
  632. FontDisk always has to be in df1 when you're booting up or it'll stop.
  633.  
  634.   -  A variation on the above would be to put an
  635.  
  636.                    If exists df1:fonts
  637.                    Assign fonts: df1:fonts
  638.                    EndIf
  639.  
  640. in the st-seq so it can see if df1:fonts is there or not.  One hitch
  641. with this is that unless FontDisk is in df1 during boot-up you'll STILL
  642. have to Assign them over before using the Notepad.  Also, you could have
  643. some ol' game disk with a font dir on it in df1 by mistake and things would
  644. really mIxT uP gEt.
  645.  
  646.   -  You could, of course, just type "Assign fonts: df1:fonts" in a CLI
  647. before using the Notepad every time.  Personally, I can't even imagine it.
  648.  
  649.   -  You could write a scriptfile saying "Assign fonts: df1:fonts", call it,
  650. say, "fo" (for fonts), and "f fo" before firing up the Notepad.  But then, of
  651. course, you still have to remember to do it every time.
  652.  
  653.   -  And there's one more hitch.  Let's say, okay, you've now assigned the
  654. fonts to df1.  Great, what happens when you try to fire up some other program
  655. later and you've either taken FontDisk out of df1, or the fonts the game is
  656. looking for aren't on FontDisk?  Leaving the fonts directory Assigned to a
  657. directory on another device is looking for trouble.
  658.  
  659.   So obviously you'll have to do it the right way.  AND you have to be able
  660. to run the whole thing from ONE icon.  AND it's due by Part5.
  661.  
  662.   Hey, you've heard of mid-terms? 
  663.  
  664.   Consider this one.
  665.  
  666.                                       *
  667.  
  668.   Clue1: (in Official Seventh Grade Typewriter Code):  OvpmC
  669.  
  670.   Clue2:  tim mpy Tim
  671.  
  672.                                        *
  673.  
  674.   A few notes on paths:  Any paths you enter in the st-seq are there forever.
  675. If you enter "Path reset" in a CLI, it only wipes out the paths in that CLI,
  676. or any NewCLI's you run from it.  If you start up some new paths in a CLI,
  677. those paths are only accessible through that CLI or any new CLI's from it,
  678. whether you enter the NewCLI c command, or run the CLI tool.  Those new CLI
  679. processes retain the paths set in the CLI they came from.
  680.  
  681.                                        *
  682.  
  683.   Hmm..  I said "a few notes", and then I actually just left a few notes!
  684.  
  685.   Must be losing my touch. ;)
  686.  
  687.                                        *
  688.  
  689.   Three items about the actual CLI window: You can usually halt the process
  690. by inputing a character, like you stop the original Type program.  To start
  691. it back up again you hit the backspace key.  You can usually stop it com-
  692. pletely by hitting Ctrl-C or sometimes Ctrl-X.  If it's a scriptfile, like
  693. the st-seq, you stop it by hitting Ctrl-D.  On a few rare occasions I've seen
  694. Ctrl-\ stop a program, so who knows?  If you want to enter another command
  695. while one's already running, hit Ctrl-J, enter the command, then Return.  The
  696. CLI will finish up the first task then perform the second.  If I'm doing
  697. something that takes a while, like compressing some large animation, I
  698. enter "LHA a (newfilename) *", Return, the compressor starts doing its thing,
  699. I hit Ctrl-J, enter "Beep", Return, and when the LHA process is done it plays
  700. the little Beep program to let me know.
  701.  
  702.                                        *
  703.  
  704.   Perhaps a note on the good Doctor would be in order about now.  If you're
  705. writing to or reading from a disk, things suddenly grind-grind-grind and up
  706. pops a requester saying "Sorry kid, it's Read/Write Error time", the proper
  707. procedure is this:  
  708.  
  709.   If you're writing TO the disk out of Ram, first grab a fresh disk, slap it
  710. in df1 and get the Ram file taken care of.  Pop up the DU if you haven't and
  711. copy all the files to a fresh disk.  Feel lucky.  Reformat the disk, maybe
  712. with something like BFormat, which tests it as it goes.
  713.  
  714.   If you were reading FROM the bad disk, this is where things get dicey.  The
  715. first thing I'd do would be to try and read it from another drive.  Drives
  716. definitely differ.  Next up, it's time to put on your Doctor hat and get to
  717. it.  DiskDoctor works about as well as any of the PD stuff, but if you've got
  718. FixDisk or Recover, I'd try those first.  If you had a commercial fix-it
  719. program, like QuarterBack Tools, you'd certainly try that first.  But if all
  720. you've got is the good Doctor, tell him to "DiskDoctor df1:" and see what ya
  721. get.  Hopefully it was just one or two sectors that got zilched and you can
  722. recover all or most of the files.  Hopefully.
  723.  
  724.   The good Doctor's main role is to restore freshly deleted files.  I say
  725. "freshly" because if you've written to the disk since you deleted the file,
  726. it might be history.  Otherwise, if you accidentally delete a file, just slap
  727. the disk in df1 and let the good Doctor do his thing.
  728.  
  729.                                        *
  730.  
  731.   The Stack command is essential for certain programs to run correctly,
  732. usually large animations.  If it has an icon with it there'll be a "16000"
  733. or something in the STACK box in the Info window.  If you're running it from
  734. a scriptfile, you'll have to have a "Stack 16000" before the program.  It's
  735. always better to overestimate how much Stack you need if you're not sure, as
  736. it'll usually be Mr. Guru knocking on the door if you don't.  If you're
  737. into downloading graphic hacks, you'll want to remember ol' Stack, as some
  738. definitely need it and the icon might be gone or whatever.  One indicator of
  739. insufficient stack space is the good ol' CANCEL/DEBUG "requester", so reboot
  740. and type in "Stack 16000" in the CLI if you're going that route, or enter
  741. the 16000 in the STACK box in the Info window and try it again.
  742.  
  743.   You'll also need it if you want to Sort (alphabetize) great big columns of
  744. words, like 40K-plus.  The original Sort command is really garbage, there's
  745. a much better one floating around the BBSs called SuprSort.  But it'll still
  746. Guru out on huge lists if you don't "Stack 100000" first.
  747.  
  748.   We saw above that if we entered new paths in a CLI, future CLI's from
  749. that same CLI also knew the new paths.  The Stack command also works as an
  750. example of how CLI tasks work.  If you enter "Stack", the computer responds
  751. "current stack size is 4000 bytes".  Enter "Stack 16000", then "Stack" and
  752. the computer will tell you the current stack size is now 16000.  Fire up a
  753. NewCLI from that CLI, enter "Stack", and it'll respond "16000".  Fire up
  754. a NewCLI from THAT CLI and the new one will also respond "16000".  
  755.  
  756.   Enter "Stack 16000" in the startup-sequence, followed by a "NewCLI".  If
  757. you "Stack" in that new CLI window after booting up, it responds "16000",
  758. but every other CLI, NewCLI, DU's CLI, Mackie's CLI, etc, on the Bench will
  759. be at the default 4000, no matter what's in the icon's Stack box, or where
  760. you put the Stack command in the st-seq in relation to LoadWb.
  761.  
  762.   Let's see..was it LoadWb..or Path?   Hmmm....maybe that didn't have
  763. anything to do with it.  Gosh...I've kinda forgotten now.  
  764.  
  765.   All I remember is that there's a real easy way to simply click on the CLI
  766. icon and automatically have the Stack set to 16000.
  767.  
  768.   I guess you'll have to help me out.
  769.  
  770.  
  771.   Also due by Part5.
  772.  
  773.                                        *
  774.  
  775.